<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8"/>
	<title>网站管理系统</title>
	<meta name="author" content="" />
	<link rel="stylesheet" type="text/css" href="__STATIC__/admin/css/style.css" />
	<link rel="stylesheet" type="text/css" href="__STATIC__/admin/css/page.css" />
	<!--[if lt IE 9]>
	<script src="js/html5.js"></script>
	<![endif]-->
	<script src="__STATIC__/admin/js/jquery.js"></script>
	<script src="__STATIC__/admin/js/jquery.mCustomScrollbar.concat.min.js"></script>
	<script type="text/javascript" charset="utf-8" src="__STATIC__/admin/js/editor/ueditor.config.js"></script>
	<script type="text/javascript" charset="utf-8" src="__STATIC__/admin/js/editor/ueditor.all.min.js"> </script>
	<!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
	<!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
	<script type="text/javascript" charset="utf-8" src="__STATIC__/admin/js/editor/lang/zh-cn/zh-cn.js"></script>
	<script src="http://cdn.bootcss.com/jquery/1.12.3/jquery.min.js"></script>
	<script src="__STATIC__/admin/js/layer/layer.js"></script>
	<script>
		setInterval(function(){
			$.post("{:url('index/checkorder')}",{check:1},function(result){
				if(result>0) {
					layer.ready(function () {
						layer.open({
							title: '订单提醒'
							, content:"<a href={:url('order/detail')}?id="+result+">你有新的订单,请注意查收</a>",
							success: function () {
								$(".layui-layer-btn0").click(function () {
									layer.close();
									window.location.href = "{:url('order/detail')}"+"?id="+result;
								})
							}
						});

						//layer.close(layer.index); //它获取的始终是最新弹出的某个层，值是由layer内部动态递增计算的
					});
				}
			});
			/*;*/
		},10000)
	</script>
	<script>

		(function($){
			$(window).load(function(){

				$("a[rel='load-content']").click(function(e){
					e.preventDefault();
					var url=$(this).attr("href");
					$.get(url,function(data){
						$(".content .mCSB_container").append(data); //load new content inside .mCSB_container
						//scroll-to appended content
						$(".content").mCustomScrollbar("scrollTo","h2:last");
					});
				});

				$(".content").delegate("a[href='top']","click",function(e){
					e.preventDefault();
					$(".content").mCustomScrollbar("scrollTo",$(this).attr("href"));
				});

			});
		})(jQuery);
	</script>
</head>
<body>
<header>
	<h1><img src="__STATIC__/admin/images/admin_logo.png"/></h1>
	<ul class="rt_nav">
		<li><a href="{:url('index/index/index')}" target="_blank" class="website_icon">站点首页</a></li>
		<li><a class="admin_icon">{$info.account}</a></li>
		<li><a href="#" class="set_icon">账号设置</a></li>
		<li><a href="{:url('Login/login_out')}" class="quit_icon">安全退出</a></li>
	</ul>
</header>
<style>
	.my_ul{
		height: 45px;background-color: #F0F0EE;margin-left: 210px;line-height: 46px;border-bottom: 1px solid #b6b6b6;
	}
	.my_ul li a{
		float: left;color: #333;margin-left: 20px;font-size: 14px;
	}
	.my_ul li a:hover{
		color: #19A97B;
	}
</style>
<section>
	<ul class="my_ul">

	</ul>
</section>